<h1><?php echo $data[0]->title; ?></h1>
<?php echo $data[0]->content; ?>